package com.ruoyi.yipaiju.service.impl;

import com.ruoyi.yipaiju.domain.Datacenter;
import com.ruoyi.yipaiju.domain.ForeclosedHouse;
import com.ruoyi.yipaiju.mapper.DatacenterMapper;
import com.ruoyi.yipaiju.service.IDatacenterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class DatacenterServiceImpl implements IDatacenterService {

    @Autowired
    private DatacenterMapper datacenterMapper;

    @Override
    public List<Map<String, String>> dayAddedCount(Datacenter datacenter) {
        return datacenterMapper.dayAddedCount(datacenter);
    }

    @Override
    public int dayAddedBooking(Map<String, String> map) {
        return datacenterMapper.dayAddedBooking(map);
    }

    @Override
    public List<ForeclosedHouse> dayAddedBookingList(Datacenter datacenter) {
        return datacenterMapper.dayAddedBookingList(datacenter);
    }

    @Override
    public int dayAddedCountForeclosed(Datacenter datacenter) {
        return datacenterMapper.dayAddedCountForeclosed(datacenter);
    }

    @Override
    public int queryCountByStatus(Datacenter datacenter) {
        return datacenterMapper.queryCountByStatus(datacenter);
    }

    @Override
    public Map<String, String> queryEstimatePrice(Datacenter datacenter) {
        return datacenterMapper.queryEstimatePrice(datacenter);
    }

    @Override
    public Map<String, String> queryDealPrice(Datacenter datacenter) {
        return datacenterMapper.queryDealPrice(datacenter);
    }

    @Override
    public Map<String, String> queryStartPrice(Datacenter datacenter) {
        return datacenterMapper.queryStartPrice(datacenter);
    }

    @Override
    public Map<String, String> queryBrowseCount(Datacenter datacenter) {
        return datacenterMapper.queryBrowseCount(datacenter);
    }
}
